GBML manual / Constants

COLOR_YELLOW

The color Yellow, for draw_rect_fill and draw_rect.

Syntax

COLOR_YELLOW: constant

Description

Names yellow, for draw_rect_fill - a common choice for a highlight or a low-health warning.

Example

draw_rect_fill(18, 145, 12, 10, COLOR_YELLOW);

A yellow health chip - the usual color to switch a health bar to partway down, before it turns COLOR_RED.

See also: draw_rect_filldraw_rect